package com.xtaller.lazy.model.system;

import com.baomidou.mybatisplus.annotation.TableField; 
import com.baomidou.mybatisplus.annotation.TableName; 
import com.xtaller.lazy.lib.annotation.Table;
import lombok.*;
import lombok.Data;

/** 
* 代码生成 
* @author: Taller  
* @date: 2019/04/09
* @Description: 权限表 
*/ 
@Data 
@TableName(value = "sys_authorities") 
@Table(id = 151)
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Authorities {
    //@ApiModelProperty(value = "权限id") 
    @TableField(value = "id") 
    private Long id;

    //@ApiModelProperty(value = "自增id") 
    @TableField(value = "autoId") 
    private Long autoId;

    //@ApiModelProperty(value = "uuid") 
    @TableField(value = "uuid") 
    private String uuid;

    //@ApiModelProperty(value = "权限名称") 
    @TableField(value = "name") 
    private String name;

    //@ApiModelProperty(value = "所属模块 对应sys_module") 
    @TableField(value = "moduleId") 
    private Long moduleId;

    //@ApiModelProperty(value = "对应html") 
    @TableField(value = "path") 
    private String path;

    //@ApiModelProperty(value = "菜单url") 
    @TableField(value = "url") 
    private String url;

    //@ApiModelProperty(value = "授权标识") 
    @TableField(value = "flag") 
    private String flag;

    //@ApiModelProperty(value = "前端事件") 
    @TableField(value = "event") 
    private String event;

    //@ApiModelProperty(value = "") 
    @TableField(value = "color") 
    private String color;

    //@ApiModelProperty(value = "1顶部按钮 2数据侧边按钮 3数据权限") 
    @TableField(value = "type") 
    private int type;

    //@ApiModelProperty(value = "父id") 
    @TableField(value = "parentId") 
    private Long parentId;

    //@ApiModelProperty(value = "0菜单 1操作权限 2数据权限") 
    @TableField(value = "isMenu") 
    private int isMenu;

    //@ApiModelProperty(value = "可见标识 1隐藏 0可见 ") 
    @TableField(value = "isHidden") 
    private int isHidden;

    //@ApiModelProperty(value = "菜单图标") 
    @TableField(value = "icon") 
    private String icon;

    //@ApiModelProperty(value = "排序号") 
    @TableField(value = "orderNumber") 
    private int orderNumber;

    //@ApiModelProperty(value = "乐观锁") 
    @TableField(value = "revision") 
    private int revision;

    //@ApiModelProperty(value = "创建者id") 
    @TableField(value = "createId") 
    private Long createId;

    //@ApiModelProperty(value = "创建时间") 
    @TableField(value = "createTime") 
    private int createTime;

    //@ApiModelProperty(value = "修改者id") 
    @TableField(value = "updateId") 
    private Long updateId;

    //@ApiModelProperty(value = "修改时间") 
    @TableField(value = "updateTime") 
    private int updateTime;

    //@ApiModelProperty(value = "乐观锁") 
    @TableField(value = "version") 
    private int version;

    //@ApiModelProperty(value = "逻辑删除 1删除 0正常") 
    @TableField(value = "isDelete") 
    private int isDelete;



} 
